[INFO] cloning repository https://github.com/TangZhongham/linkr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TangZhongham/linkr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangZhongham%2Flinkr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangZhongham%2Flinkr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ae55fe3935d43f2bc1700cabc02e9603ea1064a
[INFO] building TangZhongham/linkr against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTangZhongham%2Flinkr" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TangZhongham/linkr on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TangZhongham/linkr
[INFO] finished tweaking git repo https://github.com/TangZhongham/linkr
[INFO] tweaked toml for git repo https://github.com/TangZhongham/linkr written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/TangZhongham/linkr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d5c699d751ab493c0daca7e077a7d1eaf0757200b3d6540fbccc596c4c4303d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0d5c699d751ab493c0daca7e077a7d1eaf0757200b3d6540fbccc596c4c4303d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d5c699d751ab493c0daca7e077a7d1eaf0757200b3d6540fbccc596c4c4303d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d5c699d751ab493c0daca7e077a7d1eaf0757200b3d6540fbccc596c4c4303d", kill_on_drop: false }`
[INFO] [stdout] 0d5c699d751ab493c0daca7e077a7d1eaf0757200b3d6540fbccc596c4c4303d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5d745c1f809ede7dc5a1dd8f905f5a7a3f8e23a5800dc2e23e8dd802f3c7a97a
[INFO] running `Command { std: "docker" "start" "-a" "5d745c1f809ede7dc5a1dd8f905f5a7a3f8e23a5800dc2e23e8dd802f3c7a97a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling once_cell v1.4.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling tinyvec v0.3.3
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling v_htmlescape v0.4.5
[INFO] [stderr]    Compiling tracing-core v0.1.13
[INFO] [stderr]    Compiling hashbrown v0.8.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling indexmap v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling tracing v0.1.18
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling flate2 v1.0.16
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling chrono v0.4.13
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.36
[INFO] [stderr]    Compiling v_escape_derive v0.5.6
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling v_escape v0.7.4
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.3
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-session v0.3.0
[INFO] [stderr]    Compiling actix-files v0.2.2
[INFO] [stderr]    Compiling linkr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/model.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Todo`
[INFO] [stdout]   --> src/routes.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let result = Todo::create(todo.into_inner(), db_pool.get_ref()).await;
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Todo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TodoRequest` in this scope
[INFO] [stdout]   --> src/routes.rs:16:34
[INFO] [stdout]    |
[INFO] [stdout] 16 | async fn shorten(todo: web::Json<TodoRequest>, db_pool: web::Data<PgPool>) -> impl Responder {
[INFO] [stdout]    |                 -                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: you might be missing a type parameter: `<TodoRequest>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/routes.rs:16:67
[INFO] [stdout]    |
[INFO] [stdout] 16 | async fn shorten(todo: web::Json<TodoRequest>, db_pool: web::Data<PgPool>) -> impl Responder {
[INFO] [stdout]    |                 -                                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: you might be missing a type parameter: `<PgPool>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Responder` in this scope
[INFO] [stdout]   --> src/routes.rs:16:84
[INFO] [stdout]    |
[INFO] [stdout] 16 | async fn shorten(todo: web::Json<TodoRequest>, db_pool: web::Data<PgPool>) -> impl Responder {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use actix_web::Responder;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::Responder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `Error`, `HttpRequest`, `HttpServer`, `delete`, `error`, `guard`, `middleware`, `put`
[INFO] [stdout]  --> src/routes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     delete, get, post, put, web,
[INFO] [stdout]   |     ^^^^^^             ^^^
[INFO] [stdout] 3 |     error, guard, middleware, App, Error, HttpRequest, HttpResponse, HttpServer,
[INFO] [stdout]   |     ^^^^^  ^^^^^  ^^^^^^^^^^  ^^^  ^^^^^  ^^^^^^^^^^^                ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::routes::init`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::routes::init;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linkr`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5d745c1f809ede7dc5a1dd8f905f5a7a3f8e23a5800dc2e23e8dd802f3c7a97a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d745c1f809ede7dc5a1dd8f905f5a7a3f8e23a5800dc2e23e8dd802f3c7a97a", kill_on_drop: false }`
[INFO] [stdout] 5d745c1f809ede7dc5a1dd8f905f5a7a3f8e23a5800dc2e23e8dd802f3c7a97a
